package com.gudaomai.ekproject.entity;

import java.io.Serializable;
import java.util.Date;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

import com.baomidou.mybatisplus.activerecord.Model;
import com.gudaomai.ekproject.entity.BaseEntity;

/**
 * <p>
 * 项目
 * </p>
 * TODO:complete 输入检查没有做
 * @author XIAOSONG
 * @since 2017-06-26
 */
public class ProjectInput extends BaseInputEntity {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
	private String id;
    /**
     * 结束日
     */
	private String endDate;
    /**
     * 项目描述
     */
	private String note;
    /**
     * 创建时间
     */
	private Date createTime;
    /**
     * 扩展
     */
	private String extJson;
    /**
     * 更新者
     */
	private String updateUser;
    /**
     * 创建者
     */
	private String createUser;
    /**
     * 项目代号
     */
	@Length(max=50,message="项目代号字符长度不得大于50!")
	private String projectCode;
    /**
     * 项目名称
     */
	@NotNull(message="项目名称不能为空!")
	@NotBlank(message="项目名称字符长度要大于0!")
	@Length(max=80,message="项目名称字符长度不得大于80!")
	private String name;
    /**
     * 逻辑删除
     */
	private String deleted;
    /**
     * 版本id
     */
	private String versionId;
    /**
     * 状态
     */
	private String status;
    /**
     * 更新时间
     */
	private Date updateTime;
    /**
     * 项目类型 : 0: pc项目
1: app项目
2：pc+app项目
     */
	private String type;
    /**
     * 开始日
     */
	private String startDate;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getExtJson() {
		return extJson;
	}

	public void setExtJson(String extJson) {
		this.extJson = extJson;
	}

	public String getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public String getProjectCode() {
		return projectCode;
	}

	public void setProjectCode(String projectCode) {
		this.projectCode = projectCode;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDeleted() {
		return deleted;
	}

	public void setDeleted(String deleted) {
		this.deleted = deleted;
	}

	public String getVersionId() {
		return versionId;
	}

	public void setVersionId(String versionId) {
		this.versionId = versionId;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

}
